package org.myself.meeting.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.myself.meeting.model.Formepublish;
import org.myself.meeting.model.Fromeback;
import org.myself.meeting.model.Fromebackinfo;

import java.math.BigInteger;
import java.util.List;

/**
 * @author 杜宇康
 * @create 2021—03-21 19:11
 */
@Mapper
public interface FormeDao {

    int addForme(Formepublish forme);
    int deleteForme(BigInteger publishid);

    int updateForme(Formepublish forme);

    List<Formepublish> selectAll(int page);

    Integer selectcount();

    int addFromedis(Fromeback back);

    int deleteFormedis(BigInteger discussid);

    List<Fromebackinfo> selectAlldis(BigInteger publishid, int page);
    Integer selectcondis(BigInteger publishid);
    int addFormedisac(Fromeback back);

    List<Fromebackinfo> selectdis(BigInteger discussid);
}
